package com.mc.fil.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mc.common.annotation.Excel;
import com.mc.common.core.domain.BaseEntity;

/**
 * 加工中心订单 对象 fil_machining_order
 *
 * @author mc
 * @date 2021-04-13
 */
public class FilMachiningOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUserId;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateUserId;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applyUserName;

    /** 用途 */
    @Excel(name = "用途")
    private String purpose;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 使用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "使用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date useTime;

    /** 订单处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date processingTime;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 数量 */
    @Excel(name = "数量")
    private Long number;

    /** 已完成数量 */
    @Excel(name = "已完成数量")
    private Long completionNumber;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date completionTime;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCreateUserId(String createUserId)
    {
        this.createUserId = createUserId;
    }

    public String getCreateUserId()
    {
        return createUserId;
    }
    public void setUpdateUserId(String updateUserId)
    {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserId()
    {
        return updateUserId;
    }
    public void setApplyUserName(String applyUserName)
    {
        this.applyUserName = applyUserName;
    }

    public String getApplyUserName()
    {
        return applyUserName;
    }
    public void setPurpose(String purpose)
    {
        this.purpose = purpose;
    }

    public String getPurpose()
    {
        return purpose;
    }
    public void setProjectName(String projectName)
    {
        this.projectName = projectName;
    }

    public String getProjectName()
    {
        return projectName;
    }
    public void setApplyTime(Date applyTime)
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime()
    {
        return applyTime;
    }
    public void setUseTime(Date useTime)
    {
        this.useTime = useTime;
    }

    public Date getUseTime()
    {
        return useTime;
    }
    public void setProcessingTime(Date processingTime)
    {
        this.processingTime = processingTime;
    }

    public Date getProcessingTime()
    {
        return processingTime;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setNumber(Long number)
    {
        this.number = number;
    }

    public Long getNumber()
    {
        return number;
    }
    public void setCompletionNumber(Long completionNumber)
    {
        this.completionNumber = completionNumber;
    }

    public Long getCompletionNumber()
    {
        return completionNumber;
    }
    public void setCompletionTime(Date completionTime)
    {
        this.completionTime = completionTime;
    }

    public Date getCompletionTime()
    {
        return completionTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createUserId", getCreateUserId())
                .append("createTime", getCreateTime())
                .append("updateUserId", getUpdateUserId())
                .append("updateTime", getUpdateTime())
                .append("applyUserName", getApplyUserName())
                .append("purpose", getPurpose())
                .append("projectName", getProjectName())
                .append("applyTime", getApplyTime())
                .append("useTime", getUseTime())
                .append("processingTime", getProcessingTime())
                .append("status", getStatus())
                .append("number", getNumber())
                .append("completionNumber", getCompletionNumber())
                .append("completionTime", getCompletionTime())
                .toString();
    }
}